package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 出入库详细明细表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inoutbound")
public class Inoutbound implements Serializable {
    /**
     * 出入库明细id
     */
    @TableId(value = "inoutbound_no", type = IdType.INPUT)
    private Integer inoutboundNo;

    /**
     * 产品从表id
     */
    @TableField(value = "goods_spec_id")
    private Integer goodsSpecId;

    /**
     * 入库id
     */
    @TableField(value = "inbound_id")
    private Integer inboundId;

    /**
     * 出库id
     */
    @TableField(value = "outbound_id")
    private Integer outboundId;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    /**
     * 创建时间
     */
    @TableField(value = "inoutbound_create_time")
    private Date inoutboundCreateTime;

    private static final long serialVersionUID = 1L;
}